package com.other;

import com.service.CommentInfoVoService;
import com.util.ServerResponse;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * Created with IntelliJ IDEA.
 * User: HL
 * Date: 2020/3/3
 * Time: 15:42
 * Description: No Description
 */
@RunWith(SpringRunner.class)
@SpringBootTest
public class GetCode {
    @Autowired
    private CommentInfoVoService commentInfoVoService;
    @Test
    public void testCode(){
        ServerResponse all = commentInfoVoService.getAll();
        System.out.println(all.getData());
    }
}
